
#!/bin/bash

#1, tong xin
gnome-terminal -- bash -c "export PX4_SIM_HOST_ADDR=192.168.1.25;source /opt/ros/foxy/setup.bash; source /home/nvidia/soft_simulate/install/setup.bash;ros2 launch uav_swarms communication_multirotor_node0_launch.py; exec bash"
#2
gnome-terminal -- bash -c "export PX4_SIM_HOST_ADDR=192.168.1.25;source /opt/ros/foxy/setup.bash; source /home/nvidia/soft_simulate/install/setup.bash;ros2 launch airsim_ros_pkgs airsim_node.launch.py; exec bash"



# 3, jian ce
gnome-terminal -- bash -c "source /opt/ros/foxy/setup.bash; source /home/nvidia/soft_simulate/install/setup.bash; ros2 launch yolo_detect_pkg yolo_detect_launch.py; exec bash"


# 4, gen zong
gnome-terminal -- bash -c "source /opt/ros/foxy/setup.bash;  source /home/nvidia/soft_simulate/install/setup.bash;ros2 launch targer_tracker target_tracker_launch.py; exec bash"




# wu ren ji 80 m, #3 ->#4 -> #1
 